.dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
  }
  
  .dialog-wrapper {
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    max-width: 400px;
    transform: translate(-50%, -100%);
    background: #fff;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-animation: dialog .5s;
    animation: dialog .5s;
    display: block;
    z-index: 99;
  }
  
  .dialog-header {
    padding: 20px 20px 0;
  }
  
  .dialog-content {
    padding: 30px 20px;
    color: #475669;
    font-size: 18px;
    text-align: center;
  }
  
  .dialog-btns {
    padding: 10px 20px 15px;
    text-align: right;
  }
  
  .dialog-btns .cancel-btn {
    width: 50px;
    background: #fff;
    border: 1px solid #c0ccda;
    color: #1f2d3d;
  }
  
  .dialog-btns .sure-btn {
    border: 1px solid #26b6be;
    background: #26b6be;
  }
  
  .dialog-btns .sure-btn {
    width: 50px;
    margin-left: 5px;
    color: #fff;
    -webkit-transition: background .3s ease-in;
    transition: background .3s ease-in;
  }
  
  .dialog-btns button {
    font-size: 14px;
  }
  
  button {
    padding: 7px 0;
    outline: none;
    text-align: center;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
  }
  
  /* 删除end */
  .footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: #f8f8f8;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #ddd;
  }
  
  .event-all .table-box .edit-input.edit-input-show {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  
  .footer a {
    color: #666;
  }
  
  
  
  /* 编辑start */
  .event-all.event-all-show {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  
  .event-all {
    position: absolute;
    left: 0px;
    top: 70px;
    right: 0;
    bottom: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform .8s;
    transition: -webkit-transform .8s;
    transition: transform .8s;
    transition: transform .8s, -webkit-transform .8s;
    /* overflow-Y: scroll; */
    background: #fff;
    z-index: 9;
  }
  
  .event-all .table-box {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 70px;
  }
  
  .event-all .table-box .edit-input {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    height: 60px;
    padding: 10px 100px 10px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10;
    -webkit-transform: translateY(-260px);
    transform: translateY(-260px);
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
    background: #f3f3f3;
    border: 1px solid #eee;
    border-radius: 4px;
  }
  
  .event-all .table-box .edit-input input {
    float: left;
    width: 100%;
    height: 40px;
    padding: 5px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ddd;
  }
  
  .event-all .table-box .edit-input button {
    position: absolute;
    right: 10px;
    width: 80px;
    height: 40px;
    color: #fff;
    background-color: #00b0f0;
    border: 0;
  }
  
  .event-all .table-box .screen-box {
    position: relative;
    padding: 0 0 10px 95px;
    height: 35px;
  }
  
  .event-all .table-box .screen-box .div-search {
    width: 100%;
    height: 35px;
    line-height: 25px;
    padding: 5px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #eee;
    font-size: 12px;
    font-family: Arial, 'Microsoft YaHei';
    color: #999;
  }
  
  .event-all .table-box .screen-box .div-select {
    position: absolute;
    left: 0;
    top: 0;
    width: 85px;
    height: 35px;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #eee;
    font-size: 12px;
    color: #999;
    cursor: pointer;
  }
  
  .event-all .table-box .screen-box .div-select.active .div-select-body {
    height: 122px;
    border: 1px solid #eee;
    -webkit-box-shadow: 0 0 1px #ddd;
    box-shadow: 0 0 1px #ddd;
  }
  
  .event-all .table-box .screen-box .div-value {
    line-height: 35px;
  }
  
  .event-all .table-box .screen-box .div-select:after {
    position: absolute;
    right: 6px;
    top: 12px;
    width: 6px;
    height: 6px;
    content: '';
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  .event-all .table-box .screen-box .div-select-body {
    position: absolute;
    left: 0;
    top: 38px;
    width: 85px;
    height: 0;
    padding-left: 10px;
    line-height: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 10;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    border-radius: 3px;
    background: #fff;
    -webkit-transition: all .3s;
    transition: all .3s;
  }
  
  
  .event-all .table-box .event-table {
    width: 100%;
    padding: 0;
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
    border-spacing: 0px;
  }
  
  .event-all .table-box .event-table td,
  .event-all .table-box .event-table th {
    position: relative;
    height: 40px;
    min-width: 0;
    padding: 5px 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-overflow: ellipsis;
    vertical-align: middle;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }
  
  .event-all .table-box .event-table button {
    padding: 3px 7px;
    font-size: 12px;
    color: #fff;
    background-color: #00b0f0;
    border: 0;
    margin: 0 3px 3px 0;
  }
  
  .event-all .table-box .event-table button.del-btn {
    background: #f57067 !important;
  }
  
  /* 编辑end */
  
  
  
  /* 切换主题start */
  .theme-box .theme {
    width: 100%;
    padding: 0 10px;
    max-width: 800px;
    margin: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  .theme-box .theme-title {
    margin: 0 0 20px;
    font-size: 20px;
  }
  
  .theme-box .theme-list span {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
  }
  
  .theme-box .theme-list {
    position: relative;
    width: 70px;
    height: 36px;
    line-height: 36px;
    padding-left: 36px;
    border: 1px solid #aaa;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 10px;
    background: #fff;
    font-size: 15px;
  }
  
  .theme-box.theme-box-show {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  
  .theme-box {
    position: fixed;
    left: -230px;
    top: 0;
    bottom: 0;
    width: 230px;
    padding: 100px 20px 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #f8f8f8;
    z-index: 9;
  }
  
  /* 切换主题end */
  
  
  /* 模态框start */
  .event-tools.show-event-tools {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  
  .event-tools {
    position: fixed;
    top: 0;
    left: -250px;
    bottom: 0;
    width: 250px;
    padding: 100px 20px 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    font-size: 16px;
    z-index: 9;
  
  }
  
  .event-tools .tools-sidebar>li {
    line-height: 60px;
  }
  
  .event-tools .tools-btn {
    border: 1px solid #00b0f0;
    background-color: #00b0f0;
  }
  
  .event-tools .tools-btn {
    width: 100px;
    height: 40px;
    line-height: 26px;
    color: #fff;
    -webkit-transition: background .3s ease-in;
    transition: background .3s ease-in;
  }
  
  li {
    list-style: none;
  }
  
  button {
    padding: 7px 0;
    outline: none;
    text-align: center;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
  }
  
  /* 模态框end */
  input,
  button {
    -webkit-tap-highlight-color: transparent;
  }
  
  #app {
    height: 100%;
    padding-bottom: 60px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  input,
  button {
    outline: none;
  }
  
  * {
    margin: 0;
    padding: 0;
  }
  
  header {
    position: relative;
    width: 100%;
    height: 70px;
    z-index: 100;
    /* background-color: aquamarine; */
    /* background: #00b0f0; */
  }
  
  .green header {
    background: #00b0f0;
  }
  
  header h1 {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    line-height: 70px;
    text-align: center;
    color: #fff;
  }
  
  header h1 a.t-btn {
    position: absolute;
    right: 10px;
    top: 22px;
    width: 30px;
    height: 26px;
    cursor: pointer;
  }
  
  header h1 span {
    top: 11px;
  }
  
  header h1 span,
  header h1 span:before,
  header h1 span:after {
    position: absolute;
    left: 0;
    width: 30px;
    height: 4px;
    content: "";
    background: #fff;
  }
  
  header h1 span:before {
    top: 0;
    -webkit-transform: translateY(-7px);
    transform: translateY(-7px);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  
  header h1 span:after {
    -webkit-transform: translateY(7px);
    transform: translateY(7px);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  
  .container {
    width: 100%;
    padding: 0 10px;
    max-width: 800px;
    margin: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  .event-add {
    position: relative;
    padding: 30px 90px 30px 0;
    font-size: 16px;
  }
  
  .event-add .n-input {
    width: 100%;
    height: 40px;
    padding: 7px 10px;
    line-height: 26px;
    border: 1px solid #c0ccda;
    border-radius: 4px;
    -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: inherit;
  }
  
  .green .event-add .add-btn {
    border: 1px solid #00b0f0;
    background: #00b0f0;
  }
  
  
  .event-add .add-btn {
    position: absolute;
    right: 0;
    top: 30px;
    width: 80px;
    height: 40px;
    line-height: 26px;
    color: #fff;
    /* transition: background .3s ease-in; */
  }
  
  button {
    padding: 7px 0;
    outline: none;
    text-align: center;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
  }
  
  input,
  button {
    -webkit-tap-highlight-color: transparent;
  }
  
  .green .event-content .event-tab {
    background: #00b0f0;
  }
  
  .event-content .event-tab {
    position: relative;
    height: 44px;
    line-height: 44px;
    padding-left: 20px;
    border-bottom: 1px solid #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
  }
  
  /* 旋转箭头 */
  /* .event-content .event-tab span.close-span {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  } */
  
  
  .event-content .event-tab span {
    position: absolute;
    right: 20px;
    top: 15px;
    width: 10px;
    height: 10px;
    content: '';
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
  }
  
  .event-content .event-box {
    list-style: none;
    overflow: hidden;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    -webkit-transition: height .3s;
    transition: height .3s;
  }
  
  .event-content .event-box .event-list {
    position: relative;
    min-height: 44px;
    line-height: 25px;
    padding: 10px 100px 10px 50px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    color: #373e40;
  }
  
  .event-content .event-box .event-list input[type=checkbox] {
    position: absolute;
    left: 15px;
    top: 12px;
    width: 20px;
    height: 20px;
  }
  
  .event-content .event-box .event-list .cancel-btn {
    position: absolute;
    right: 10px;
    top: 7px;
    width: 50px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    background: #fff;
    border: 1px solid #c0ccda;
    color: #666;
    font-size: 12px;
  }
  
  .event-content .event-box .event-list .event-time {
    position: absolute;
    right: 10px;
    top: 0;
    line-height: 44px;
    font-size: 12px;
    color: #aaa;
  }
  
  .event-content .event-box .event-list .event-delete {
    text-decoration: line-through;
    color: #999;
  }
  
  .event-content .event-box .event-list .cancel-btn {
    position: absolute;
    right: 10px;
    top: 7px;
    width: 50px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    background: #fff;
    border: 1px solid #c0ccda;
    color: #666;
    font-size: 12px;
  }